<?php
include_once('common/header.php');
if($AppUI->id <=0) {
	Vfriend_Function::redirect(HOST_VFRIEND);
}
$objOffline 	= new Offline();
$intLimit		= OFFLINE_LIMIT;
$intTotal		= 0;
$intPage		= $objRequest->getParam('page', 1);
$intType		= $objRequest->getParam('type', 0);
$intOffset		= ($intPage-1)*$intLimit;
$arrResult		= $objOffline->getAllForMine($AppUI->id,$intType,$intOffset,$intLimit,$intTotal);
$this->view->arrResult		= $arrResult;
$this->view->intTotalPage	= ceil($intTotal / $intLimit);
$this->view->intPage 		= $intPage;
$this->view->arrFilterMine 	= $arrFilterMine;
$this->view->intType 		= $intType;
?>